@import './default.less';
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: @color;
  font-family: 'PingFang SC', 'PingFangSC-Regular', 'Helvetica Neue', Helvetica, 'Microsoft Yahei', Arial, sans-serif;
  min-width: @pageMinWidth;
  width: 100%;
}

.web-container {
  min-width: @pageMinWidth;
  width: 100%;
  position: relative;
}

.affix-header {
  position: absolute;
  z-index: 100;
  width: 100%;
  left: 0px;
  right: 0px;
}

.ant-layout {
  background: #fff;
}

.web {
  &-page {
    padding: 0;
    margin-top: 75px;
    background-color: @background-page;
    min-height: 200px;
    &-block {
      width: 100%;
      text-align: center;
      &-content {
        width: 85%;
        min-width: 1000px;
        max-width: 1200px;
        margin: 0 auto;
      }
    }
    &-banner {
      position: relative;
      background: @background;
      & img {
        width: 100%;
      }
    }
  }
  &-title {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
    span {
      display: inline-block;
      height: 30px;
      line-height: 28px;
      border-left: 3px solid #01afef;
      padding-left: 16px;
      font-size: 24px;
      color: #222;
    }
  }
  &-title-bg {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;
    span {
      line-height: 56px;
      height: 56px;
      padding: 0 20px;
      color: #fff;
      font-size: 20px;
      background: #1ea1dc;
      display: inline-block;
      margin-top: 30px;
    }
    .anticon-caret-right {
      color: #fff;
      font-size: 16px;
    }
  }
  &-title-dot {
    text-align: left;
    padding: 20px 0;
    font-size: 20px;
    color: #222;
    &::before{
      content: '';
      border-radius: 50%;
      width: 8px;
      height: 8px;
      background: rgb(155, 192, 136);
      display: inline-block;
      margin-right: 16px;
      vertical-align: middle;
    }
  }
}

.text-ellipsis1,
.text-ellipsis2,
.text-ellipsis3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.text-ellipsis2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.text-ellipsis3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.shadow-1-up {
  box-shadow: @shadow-1-up;
}

.border-line {
  border-top: 1px solid @borderColor;
  height: 1px;
  width: 100%;
}

.background {
  background: @background;
}

.transparent {
  background: transparent;
}